# Maintainer: Patrick Gansterer <paroga@paroga.com>
pkgname=postgresql-uint
_pkgname=pguint
pkgver=1.20160819
pkgrel=0
pkgdesc="Unsigned and other extra integer types for PostgreSQL"
url="https://github.com/petere/pguint"
arch="all"
license="PostgreSQL"
depends="postgresql"
makedepends="postgresql-dev python3"
source="$pkgname-$pkgver.tar.gz::https://github.com/petere/pguint/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check"  # XXX: installcheck requires running PostgreSQL

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a7128e423fbdd7f990f81071d8f26d0309ff9f48d3ae05d1936bee42b8b8d56de631863e62114c99f04e5db5b9b2adf247c1fb831e03c2cd33ad312c022970cd  postgresql-uint-1.20160819.tar.gz"
